package com.lxd.sunso.product.dao;

import com.lxd.sunso.product.entity.ControlrealtimeEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lxd.sunso.product.vo.DataAndTimeVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lxd
 * @email sunlightcs@gmail.com
 * @date 2020-12-30 18:06:30
 */
@Mapper
public interface ControlrealtimeDao extends BaseMapper<ControlrealtimeEntity> {

    List<String > getDataAndUnit(@Param(value = "machineId") String machineid);

    String getTime(String toString);
}
